﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administrator/Admin.Master" AutoEventWireup="true" CodeBehind="EditLoaiPhim.aspx.cs" Inherits="HDTuyenChon.Admin.EditLoaiPhim" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h3>Loại phim</h3>
 <asp:GridView CssClass="gridview" ID="GridView1" runat="server" AllowPaging="True" 
            AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="ID" 
            DataSourceID="LinqDataSource1">
            <Columns>
                <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" />
                <asp:BoundField DataField="ID" HeaderText="ID" InsertVisible="False" 
                    ReadOnly="True" SortExpression="ID" />
                <asp:BoundField DataField="MS_Loai" HeaderText="MS_Loai" 
                    SortExpression="MS_Loai" ReadOnly="True" />
                <asp:BoundField DataField="Ten_Loai" HeaderText="Ten_Loai" 
                    SortExpression="Ten_Loai" />
                <asp:BoundField DataField="Mo_Ta" HeaderText="Mo_Ta" SortExpression="Mo_Ta" />
                <asp:BoundField DataField="NgayDelete" HeaderText="NgayDelete" 
                    SortExpression="NgayDelete" Visible="False" />
                <asp:BoundField DataField="NgayInsert" HeaderText="NgayInsert" 
                    SortExpression="NgayInsert" Visible="False" />
                <asp:BoundField DataField="NguoiInsert" HeaderText="NguoiInsert" 
                    SortExpression="NguoiInsert" Visible="False" />
                <asp:BoundField DataField="NgayUpdate" HeaderText="NgayUpdate" 
                    SortExpression="NgayUpdate" Visible="False" />
                <asp:BoundField DataField="NguoiUpdate" HeaderText="NguoiUpdate" 
                    SortExpression="NguoiUpdate" Visible="False" />
            </Columns>
        </asp:GridView>
        <asp:LinqDataSource ID="LinqDataSource1" runat="server" 
            ContextTypeName="HDTuyenChon.AppCode.HDFilmDataContext" EnableDelete="True" 
            EnableInsert="True" EnableUpdate="True" EntityTypeName="" OrderBy="ID desc" 
            TableName="LoaiPhims">
        </asp:LinqDataSource>
</asp:Content>
